import CSDialog from "./CSDialog";
/**
 * Created by wushifeng on 2017/3/15.
 */
export class Helpers{
    private constructor(){}

    public static assert(cond:any){
        if(!cond) {
            CSDialog.alert("条件错误,请在浏览器开发工具中定位具体的位置和排错")
            console.assert(false, "条件错误")
        }
    }
}